import { Module } from '@nestjs/common';
import { TaskService } from './task.service';
import { TaskController } from './task.controller';
import { taskProviders } from './task.provider';
import { DatabaseModule } from '../database.module'

@Module({
  imports:[DatabaseModule],
  controllers: [TaskController],
  providers: [...taskProviders,TaskService],
  exports:[TaskService]
})
export class TaskModule {}
